<admintpl file="header" />

<link href="__TMPL__Public/assets/css/infomation.css" rel="stylesheet" />
</head>
<body>
    <div class="wrap">
        <ul class="nav nav-tabs">
            <li><a href="{:U('WorkPreviewForm/index')}">项目管理(代建)工作预告单管理</a></li>
            <if condition="($level eq '0' OR $level eq '2')">
            	<li><a href="{:U('WorkPreviewForm/add')}">新增项目管理(代建)工作预告单</a></li>
            </if>
            <li class="active"><a href="{:U('WorkPreviewForm/view', array('id'=>I('request.id/s','')))}">查看项目管理(代建)工作预告单管理</a></li>
        </ul>
        <section class="tab-pane active fade in" id="access">
            <div class="row">
                <div class="col-xs-12 col-md-12 col-lg-12">
                    <div class="panel panel-info">
                        <div class="panel-body">
                            <form method="post" class="form-horizontal form-inline tg js-ajax-form" action="" method="post">

                                <div class="row tg-header">
                                    <div class="col-md-12 text-center">
                                        <h3>项目管理（代建）工作预告单</h3>
                                        <hr/>
                                    </div>
                                    <input type="hidden" name="id" value="{$result.id}" />
                                    <div class="col-md-12">
                                        <p class="tg-to">
                                            <label>工程名称:</label>
                                            <input type="text" class="input-xt input-deptname" value="{$job_name}"/>
                                        </p>
                                        <p class="pull-right tg-serialnum">
                                            <label>编号:</label>
                                            <input class="input-xt" type="text" name="code" value="{$result.code}" />
                                        </p>
                                    </div>
                                </div>
                                <table class="table table-bordered">
                                    <tr>
                                        <td style="border-right:none !important;">
                                            <label>施工单位:</label>
                                        </td>
                                        <td colspan="3">
                                            <select name="executing_department" disabled="disabled" style="min-width:360px; background-color:white;  height:30px; border: 1px solid #aaa; border-radius:4px; cursor:text;" data-placeholder="选择发送单位:">
                                                <foreach name="data" item="vo">
                                                    <option <if condition="$vo.id eq $result['executing_department']">selected="selected"</if> value="{$vo.id}">{$vo.department_name}</option>
                                                </foreach>
                                            </select>
                                            <!--input type="text" name="executing_department" value="{$result.executing_department}" class="input-xt input-deptname" style="border:none !important;" /-->
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <label>预告主题:</label>
                                        </td>
                                        <td>
                                            <input type="text" name="preview_title" value="{$result.preview_title}" class="input-xt input-deptname" style="border:none !important;" />
                                        </td>
                                        <td>
                                            <label>日期:</label>
                                        </td>
                                        <td>
                                            <input type="text" name="preview_date" value="{$result.preview_date}" class="js-date input-xt input-deptname" style="border:none !important;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">
                                            <textarea name="preview_content" style="height:200px; width:100%">{$result.preview_content}</textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">
                                            <p class="text-right"> 浙江五洲工程项目管理有限公司</p>
                                            <p class="text-right"> 杭州市中医院丁桥分院项目代建部</p>
                                        </td>
                                    </tr>
                                </table>
                                <div class="form-actions">
                                    <a class="btn btn-default" href="{:U('WorkPreviewForm/index')}">{:L('BACK')}</a>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
    <script src="__PUBLIC__/js/common.js"></script>
    <script type="text/javascript">
        $("input").attr("readonly", true);
        $("textarea").attr("readonly", true);
    </script>
</body>
</html>